home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM A / PD-ROM A.iso / Programming / Programming Languages / MacOberon / MacOberon (core) / Errors.Text (.txt) < prev    next >
Encoding:
Oberon Text  |  1991-01-15  |  6.7 KB  |  191 lines  |  [.Ob./.Ob2]

  1. Syntax10b.Scn.Fnt
  2. Syntax10.Scn.Fnt
  3. List of Oberon Error Numbers
  4. N. Wirth / 20.6.87 / RC 7.2.90 / MF 19.12.90    (Motorola 68020 Compiler)
  5. 1. Incorrect use of language Oberon
  6.   0    undeclared identifier
  7.   1    multiply defined identifier
  8.   2    illegal character in number
  9.   3    illegal character in string
  10.   4    identifier does not match procedure name
  11.   5    comment not closed
  12.   9    "=" expected
  13. 10    identifier expected
  14. 12    type definition starts with incorrect symbol
  15. 13    factor starts with incorrect symbol
  16. 14    statement starts with incorrect symbol
  17. 15    declaration followed by incorrect symbol
  18. 16    MODULE expected
  19. 17    number expected
  20. 18    "." missing
  21. 19    "," missing
  22. 20    ":" missing
  23. 22    ")" missing
  24. 23    "]" missing
  25. 24    "}" missing
  26. 25    OF missing
  27. 26    THEN missing
  28. 27    DO missing
  29. 28    TO missing
  30. 29    "(" missing
  31. 33    ":=" missing
  32. 34    "," or OF expected
  33. 37    identifier expected
  34. 38    ";" missing
  35. 40    END missing
  36. 43    UNTIL missing
  37. 45    EXIT not within loop statement
  38. 47    illegally marked identifier
  39. 48    unsatisfied forward reference
  40. 49    recursive import not allowed
  41. 50    expression should be constant
  42. 51    constant not an integer
  43. 52    identifier does not denote a type
  44. 53    identifier does not denote a record type
  45. 54    result type of procedure is not a basic type
  46. 55    procedure call of a function
  47. 56    assignment to non-variable
  48. 57    pointer not bound to record or array type
  49. 58    recursive type definition
  50. 59    illegal open array parameter
  51. 60    wrong type of case label
  52. 61    inadmissible type of case label
  53. 62    case label defined more than once
  54. 63    index out of bounds
  55. 64    more actual than formal parameters
  56. 65    fewer actual than formal parameters
  57. 66    element types of actual array and formal open array differ
  58. 67    actual parameter corresponding to open array is not an array
  59. 69    parameter must be an integer constant
  60. 73    procedure must have level 0
  61. 77    object is not a record
  62. 78    dereferenced object is not a variable
  63. 79    indexed object is not a variable
  64. 80    index expression is not an integer
  65. 81    index out of specified bounds
  66. 82    indexed variable is not an array
  67. 83    undefined record field
  68. 84    dereferenced variable is not a pointer
  69. 85    guard or test type is not an extension of variable type
  70. 86    guard or testtype is not a pointer
  71. 87    guarded or tested variable is neither a pointer nor a VAR-parameter record
  72. 92    operand of IN not an integer, or not a set
  73. 93    set element type is not an integer
  74. 94    operand of & is not of type BOOLEAN
  75. 95    operand of OR is not of type BOOLEAN
  76. 96    operand not applicable to (unary) +
  77. 97    operand not applicable to (unary) -
  78. 98    operand of ~ is not of type BOOLEAN
  79. 100    incompatible operands of dyadic operator
  80. 101    operand type inapplicable to *
  81. 102    operand type inapplicable to /
  82. 103    operand type inapplicable to DIV
  83. 104    operand type inapplicable to MOD
  84. 105    operand type inapplicable to +
  85. 106    operand type inapplicable to -
  86. 107    operand type inapplicable to = or #
  87. 108    operand type inapplicable to relation
  88. 110    operand is not a type
  89. 111    operand inapplicable to (this) function
  90. 112    operand is not a variable
  91. 113    incompatible assignment
  92. 114    string too long
  93. 115    parameter discrepancy between type (or name) of variable (or forward procedure) and this procedure
  94. 116    type of variable (or forward procedure) has more parameters than this procedure
  95. 117    type of variable (or forward procedure) has fewer parameters than this procedure
  96. 118    procedure result type of variable (or of forward declaration) differs from result type of this procedure
  97. 119    assigned procedure is not global
  98. 120    type of expression following IF, WHILE, or UNTIL is not BOOLEAN
  99. 121    called object is not a procedure (or is an interrupt procedure)
  100. 122    actual VAR-parameter is not a variable
  101. 123    type of actual parameter is not identical with that of formal VAR-parameter
  102. 124    type of result expression differs from that of procedure
  103. 125    type of case expression is neither INTEGER nor CHAR
  104. 126    this expression cannot be a type or a procedure
  105. 127    illegal use of object
  106. 129    unsatisfied forward procedure
  107. 130    WITH clause does not specify a variable
  108. 131    LEN not applied to array
  109. 132    dimension in LEN too large or negative
  110. 133    procedure declaration don't match forward declaration
  111. 150    key inconsistency of imported module
  112. 151    incorrect symbol file
  113. 152    symbol file of imported module not found
  114. 153    object or symbol file not opened (disk full?)
  115. 155    generation of new symbol file not allowed
  116. 2. Limitations of implementation
  117. 200    not yet implemented
  118. 201    lower bound of set range greater than higher bound
  119. 202    set element greater  than MAX(SET) or less than 0
  120. 203    number too large
  121. 204    product too large
  122. 205    division by zero
  123. 206    sum too large
  124. 207    difference too large
  125. 208    overflow in arithmetic shift
  126. 209    case range too large
  127. 210    code too long
  128. 211    jump distance too large
  129. 213    too many cases in case statement
  130. 214    too many exit statements
  131. 215    not enough registers: simplify expression
  132. 216    not enough floating-point registers: simplify expression
  133. 217    parameter must be an integer constant
  134. 218    illegal value of parameter  (20 <= p < 256)
  135. 219    illegal value of parameter  (0 <= p < 16)
  136. 220    illegal value of parameter
  137. 222    too many pointers (either global, or in record)
  138. 223    too many record types
  139. 224    too many pointer types
  140. 225    address of pointer variable too large (move forward in text)
  141. 226    too many exported procedures (> 40)
  142. 227    too many imported modules
  143. 228    too many exported structures
  144. 229    too many nested records for import
  145. 230    too many constants (strings) in module
  146. 231    too many link table entries (external procedures)
  147. 232    too many commands in module
  148. 233    record extension hierarchy too high
  149. 240    identifier too long
  150. 241    string too long
  151. 250    too many different variables in module
  152. 251    too many parameters to a procedure (4k max, Macintosh stack depth is 8k)
  153. 252    too many local variables to procedure (4k max, Macintosh stack depth is 8k)
  154. 3. Run-time Trap Numbers
  155.   2    NIL-reference
  156.   3    Address Error
  157.   4    Illegal instruction
  158.   5    Division by zero
  159.   6    Invalid index
  160.   7    Range error in conversion
  161. 13    Integer overflow
  162. 14    Floating-point overflow
  163. 16    Invalid case in CASE statement
  164. 17    Function procedure without RETURN statement
  165. 18    Type guard check
  166. 19    Implied type guard check in record assignment
  167. 20    Macintosh File System error (check OSErr code)
  168. 21    Too many files open
  169. 22    Non-maskable Interrupt
  170. 23    Out of heap space
  171. 30 - 255    Programmed HALT
  172. 4. Macintosh OS Error Codes
  173. -19    Read error
  174. -20    Write error
  175. -33    Directory full
  176. -34    Disk full
  177. -35    No such volume
  178. -36    Disk I/O error
  179. -37    Bad name
  180. -38    File not open
  181. -39    End of file
  182. -40    Tried to position to before start of file
  183. -41    Memory full or file won't fit
  184. -42    Too many files open
  185. -43    File not found
  186. -44    Disk is write protected
  187. -45    File is locked
  188. -46    Volume is locked
  189. -47    File busy
  190. -48    Duplicate file name
  191.